package base

type ErrorType string

type ErrorStruct struct {
	Msg  ErrorType
	Code uint32
}

const (
	BUFFER_SIZE_ERROR ErrorType = "缓冲器size为0"
	BUFFER_CLOSED     ErrorType = "缓冲器已关闭"
	BUFFER_GET_CH     ErrorType = "获取缓冲器数据错误"
	POOL_CLOSED       ErrorType = "缓冲池已关闭"
	IOREADER_ERROR    ErrorType = "读IO错误"
)
